package com.zzyl.mapper;

import com.zzyl.entity.NursingProject;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.queryparam.NursingProjectQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {

    public abstract List<NursingProject> getPage(NursingProjectQueryParam npqp);

    public abstract void addNursingProject(NursingProject nursingProject);

    public abstract NursingProject getByIdNursingProject(Long id);

    public abstract void updateNursingProject(NursingProject nursingProject);

    public abstract void statusNursingProject(Long id, Integer status);

    public abstract void deleteNursingProject(Long id);

    public abstract List<NursingProject> allList();

    public abstract List<NursingProjectPlan> getCount(Long npId);
}
